package com.example.kt_base.s1

//TODO 13.学习Kotlin的range表达式
fun main() {
    val number = 99

    if (number in 10..59) {
        println("不及格")
    } else if (number in 0..20) {
        println("分数很差")
    } else if (number in 60..100) {
        println("及格")
    } else {
        println("分数不在范围内")
    }

}